//
//  XYDialogView.h
//  JinXiaoChao
//
//  Created by 找汽配 on 2018/1/23.
//

#import <UIKit/UIKit.h>
#import "XYDialogViewContentView.h"

@protocol XYDialogViewDelegate;

@interface XYDialogView : UIView

@property (nonatomic, weak) XYDialogViewContentView * contentView;
@property (nonatomic, weak) id<XYDialogViewDelegate> delegate;

+ (instancetype)dialogView;
- (void)show;
- (void)hide;

@end

@protocol XYDialogViewDelegate <NSObject>

- (void)dialogViewDidHide:(XYDialogView *)dialogView;

@end
